<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>省钱控页面</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <!--第三方的css-->
    <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.css">
    <!--自己的css样式-->
    <link rel="stylesheet" href="./css/base.css">
    <!-- <link rel="stylesheet" href="./css/common.css">     -->
    <link rel="stylesheet" href="./css/moneyctrl.css">

</head>

<body>
    <div class="loader1">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
    </div>
    <!--头部-->
    <header id="header">
        <a href="index.html" class="pull-left">
            <span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span>
        </a>
        <span>省钱控-最新优惠</span>
        <a class="app" href="">
            <img src="./images/header_app.png" alt="">
        </a>
    </header>
    <!-- 商品内容部分 -->
    <div id="moneyCtrl" class="saveMoneyContent">
        <!-- 商品清单 -->
        <div class="recommen-list saveMoney-list">
        </div>
        <!-- 分页按钮 -->
        <div class="product-page clearfix">
            <input type="button" value="上一页" class="btn btn-default  pre">

            <div class="dropdown">
                <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
                    第1页
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
                </ul>
            </div>
            <input type="button" value="下一页" class="btn btn-default  nex">
        </div>
    </div>
    <!--尾部-->
    <!--尾部区域-->
    <footer id="footer">
        <div class="row">
            <div class="col-xs-4">
                <a href="">登录</a>
            </div>
            <div class="col-xs-4">
                <a href="">注册</a>
            </div>
            <div class="col-xs-4">
                <a href="#">返回顶部</a>
            </div>
        </div>
        <p><a href="">手机app下载 </a><a href="">慢慢买手机版 </a> -- 掌上比价平台</p>
        <p>m.manmanbuy.com </p>
    </footer>
</body>
<!--第三方js-->

<!--省钱控内容主题部分-->
<script type="text/html" id="moneyCtrlTpl">
    {{each result as value i}}
    <li class="clearfix ui-border-b media">
        <a href="moneyproduct.html?productid={{value.productId}}">
            <div class="pic media-left"> {{#value.productImgSm}}</div>
            <span class="clearfix info">
                <div class="title">{{value.productName}} <span>{{value.productPinkage}}</span></div>
                <div class="other">
                    <span class="mall">{{value.productFrom}} | {{value.productTime}}</span>
                    <span class="comment"><i class="icon-comment"></i>{{getNum(value.productComCount)}}</span>
                </div>
            </span>
        </a>
    </li>
    </div>
    {{/each}}
   
</script>
<!-- 省钱控分页按钮部分 -->
<script type="text/html" id="selectPageTpl">
    {{each smBtnData as value i}}  
    <option selected="selected" value="1">{{value.pagesize}}/{{value.totalCount}}<span class="glyphicon glyphicon-triangle-bottom"></span></option>
  
               
{{/each}}
</script>
<script src="./lib/jquery/jquery.js"></script>
<script src="./lib/bootstrap/js/bootstrap.js"></script>
<script src="./js/template.js"></script>
<!--自己的index.js-->
<script src="./js/common.js"></script>
<!-- <script src="./js/index.js"></script> -->
<script src="./js/moneyctrl.js"></script>

</html>